package com.systemsetup.systemsetup.model;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.systemsetup.systemsetup.common.base.BasisEntity;

import java.util.Date;

//@Data
@TableName("business.business")//单位表
public class Business extends BasisEntity {

    private String id;//主键
    private String orgId;//机构id
    private String name;//单位名称
    private String lon;//经度
    private String lat;//纬度
    private String addr;//详细地址
    private String fireRating;//消防等级: 对应字典表：消防安全重点单位、消防安全一般单位、九小场所、 其它
    private String unitProperty;//单位性质:机关 团体 企业 事业 其它 对应字典表
    private String enterpriseCode;//企业代码
    @TableField(value = "is_high_risk")
    private String isHighRisk;//是否高危：0 否 1 是
    private String area;//行政区划id(包括上级的id，从上往下排，中间逗号隔开)
    private String areaName;//区域名字
    private String oneResponPersonName;//消防第一责任人姓名
    private String oneResponPersonPhone;//消防第一责任人电话
    private String safeResponPersonName;//消防安全责任人姓名
    private String safeResponPersonPhone;//消防安全责任人电话
    private String safeManagePersonName;//消防安全管理人姓名
    private String safeManagePersonPhone;//消防安全管理人电话
    private String industry;//所属行业
    private String unitCategory;//单位类别
    @TableField(value = "is_del")
    private Boolean isDel;//是否删除：1 是 0 没有
    private Date createtime;//创建时间
    private String fireId;//消防id
    private String fireDepartmentId;//消防主管部门id
    private String industryAuthoritiesId;//行业主管部门id
    private String orgIds;//机构ids
    private Date expiretime;//机构ids
    private String cameraType;//类型：1展示摄像头按钮 2不展示
    private Double usableArea;//使用面积
    private Integer numberLayers;//楼层数
    private Integer numberPeople;//人数
    private String nfcId;

    public String getNfcId() {
        return this.getString("nfcId");
    }

    public void setNfcId(String nfcId) {
        this.put("nfcId",nfcId);
    }

    public Double getUsableArea() {
        return this.getDouble("usableArea");
    }

    public void setUsableArea(Double usableArea) {
        this.put("usableArea",usableArea);
    }

    public Integer getNumberLayers() {
        return this.getInteger("numberLayers");
    }

    public void setNumberLayers(Integer numberLayers) {
        this.put("numberLayers",numberLayers);
    }

    public Integer getNumberPeople() {
        return this.getInteger("numberPeople");
    }

    public void setNumberPeople(Integer numberPeople) {
        this.put("numberPeople",numberPeople);
    }

    public String getCameraType() {
        return this.getString("cameraType");
    }

    public void setCameraType(String cameraType) {
        this.put("cameraType",cameraType);
    }

    public String getFireDepartmentId() {
        return this.getString("fireDepartmentId");
    }

    public void setFireDepartmentId(String fireDepartmentId) {
        this.put("fireDepartmentId",fireDepartmentId);
    }

    public String getIndustryAuthoritiesId() {
        return this.getString("industryAuthoritiesId");
    }

    public void setIndustryAuthoritiesId(String industryAuthoritiesId) {
        this.put("industryAuthoritiesId",industryAuthoritiesId);
    }

    public String getOrgIds() {
        return this.getString("orgIds");
    }

    public void setOrgIds(String orgIds) {
        this.put("orgIds",orgIds);
    }

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getOrgId() {
        return this.getString("orgId");
    }

    public void setOrgId(String orgId) {
        this.put("orgId",orgId);
    }

    public String getName() {
        return this.getString("name");
    }

    public void setName(String name) {
        this.put("name",name);
    }

    public String getLon() {
        return this.getString("lon");
    }

    public void setLon(String lon) {
        this.put("lon",lon);
    }

    public String getLat() {
        return this.getString("lat");
    }

    public void setLat(String lat) {
        this.put("lat",lat);
    }

    public String getAddr() {
        return this.getString("addr");
    }

    public void setAddr(String addr) {
        this.put("addr",addr);
    }

    public String getFireRating() {
        return this.getString("fireRating");
    }

    public void setFireRating(String fireRating) {
        this.put("fireRating",fireRating);
    }

    public String getUnitProperty() {
        return this.getString("unitProperty");
    }

    public void setUnitProperty(String unitProperty) {
        this.put("unitProperty",unitProperty);
    }

    public String getEnterpriseCode() {
        return this.getString("enterpriseCode");
    }

    public void setEnterpriseCode(String enterpriseCode) {
        this.put("enterpriseCode",enterpriseCode);
    }

    public String getHighRisk() {
        return this.getString("isHighRisk");
    }

    public void setHighRisk(String isHighRisk) {
        this.put("isHighRisk",isHighRisk);
    }

    public String getArea() {
        return this.getString("area");
    }

    public void setArea(String area) {
        this.put("area",area);
    }

    public String getAreaName() {
        return this.getString("areaName");
    }

    public void setAreaName(String areaName) {
        this.put("areaName",areaName);
    }

    public String getOneResponPersonName() {
        return this.getString("oneResponPersonName");
    }

    public void setOneResponPersonName(String oneResponPersonName) {
        this.put("oneResponPersonName",oneResponPersonName);
    }

    public String getOneResponPersonPhone() {
        return this.getString("oneResponPersonPhone");
    }

    public void setOneResponPersonPhone(String oneResponPersonPhone) {
        this.put("oneResponPersonPhone",oneResponPersonPhone);
    }

    public String getSafeResponPersonName() {
        return this.getString("safeResponPersonName");
    }

    public void setSafeResponPersonName(String safeResponPersonName) {
        this.put("safeResponPersonName",safeResponPersonName);
    }

    public String getSafeResponPersonPhone() {
        return this.getString("safeResponPersonPhone");
    }

    public void setSafeResponPersonPhone(String safeResponPersonPhone) {
        this.put("safeResponPersonPhone",safeResponPersonPhone);
    }

    public String getSafeManagePersonName() {
        return this.getString("safeManagePersonName");
    }

    public void setSafeManagePersonName(String safeManagePersonName) {
        this.put("safeManagePersonName",safeManagePersonName);
    }

    public String getSafeManagePersonPhone() {
        return this.getString("safeManagePersonPhone");
    }

    public void setSafeManagePersonPhone(String safeManagePersonPhone) {
        this.put("safeManagePersonPhone",safeManagePersonPhone);
    }

    public String getIndustry() {
        return this.getString("industry");
    }

    public void setIndustry(String industry) {
        this.put("industry",industry);
    }

    public String getUnitCategory() {
        return this.getString("unitCategory");
    }

    public void setUnitCategory(String unitCategory) {
        this.put("unitCategory",unitCategory);
    }

    public Boolean getDel() {
        return this.getBoolean("del");
    }

    public void setDel(Boolean del) {
        this.put("isDel",del);
    }

    public Date getCreatetime() {
        return this.getDate("createtime");
    }

    public void setCreatetime(Date createtime) {
        this.put("createtime",createtime);
    }

    public String getFireId() {
        return this.getString("fireId");
    }

    public void setFireId(String fireId) {
        this.put("fireId",fireId);
    }
    public Date getExpiretime() {
        return this.getDate("expiretime");
    }

    public void setExpiretime(Date expiretime) {
        this.put("expiretime",expiretime);
    }
}
